{%include file="header.html" %}  
<div class="break"></div>
<div class="warp">
<div class="fanlaji_title">
	<h3>有任何意见和建议，请到<a href="/tucao/" target="_blank">留言板</a>@admin</h3>
</div>
  <div class="fanlaji">
   <form id="form1">
   <div class="add_fanlaji">
   		<h2>排查最近@我的垃圾用户(举报过的不列出来)</h2>
		 <ul>

{%section name="count" loop=$g_show.laji_info%}
		<li>
		<div>
			<div class="user_pic" title="{%$g_show.laji_info[count].laji_text%}" alt="{%$g_show.laji_info[count].laji_text%}"><a href="http://weibo.com/{%$g_show.laji_info[count].laji_uid%}" target="_blank"><img src="{%$g_show.laji_info[count].laji_pic%}"></a></div>
			<div class="nickname">{%$g_show.laji_info[count].laji_nickname%}</div>
			<div class="checkbox"><input type="checkbox" name="laji_uid[]" value="{%$g_show.laji_info[count].laji_uid%}|||{%$g_show.laji_info[count].laji_nickname%}"></div>
		</div>
		</li>
	{%sectionelse%}
		<h3>您最近没有被垃圾号骚扰，提供一个小号给您测试功能</h3>
		<li>
		<div>
			<div class="user_pic" title="暂时没有垃圾号@您，我给了一个小号给你测试下功能。。坐等小号被封。。" alt="暂时没有垃圾号@您，我给了一个小号给你测试下功能。。坐等小号被封。。"><img src="http://img.t.sinajs.cn/t4/style/images/face/male_medium.png"></div>
			<div class="nickname">222fdf_9si</div>
			<div class="checkbox"><input type="checkbox" name="laji_uid[]" value="1760694505|||222fdf_9si"></div>
		</div>
		</li>

	{%/section%}
		</ul>
   	
	  <div class="other_info">
	  <ul>
	  <li>举报理由 <input type="text" name="content" value="垃圾小号，@我很多垃圾信息！" size=100></li>
	  <li>举报类型 <select name="class_id">
		<option value="1">垃圾广告</option>
		<option value="2">色情</option>
		<option value="3">其他</option>
		<option value="4">身份造假</option>
		<option value="5">不实信息</option>
		<option value="6">人身攻击</option>
		<option value="7">泄露个人隐私</option>
		</select></li>
	  <li>加入黑名单 <input type="checkbox" name="add_black" value=1></li>
	   <li><input type="button" class="tucao_submit" value="确定"></li>
	  </ul>
	
		
	 
	
   </div>
  </form>
  
  {%if $g_show.laji_top%}
  
  <form id="form2">
  	<h2>被举报的比较多的用户(可以帮着别人也举报下反正都是害虫)</h2>
	 <ul>

{%section name="count" loop=$g_show.laji_top%}
		<li>
		<div>
			<div class="user_pic"><a href="http://weibo.com/{%$g_show.laji_top[count].laji_uid%}" target="_blank"><img src="http://tp1.sinaimg.cn/{%$g_show.laji_top[count].laji_uid%}/50/1"></a></div>
			<div class="nickname">{%$g_show.laji_top[count].laji_nickname%}</div>
			<div class="checkbox"><input type="checkbox" name="laji_uid[]" value="{%$g_show.laji_top[count].laji_uid%}|||{%$g_show.laji_top[count].laji_nickname%}"></div>
		</div>
		</li>
	{%sectionelse%}
		

	{%/section%}
		</ul>
   	
	  <div class="other_info">
	  <ul>
	  <li>举报理由 <input type="text" name="content" value="垃圾小号，@我很多垃圾信息！" size=100></li>
	  <li>举报类型 <select name="class_id">
		<option value="1">垃圾广告</option>
		<option value="2">色情</option>
		<option value="3">其他</option>
		<option value="4">身份造假</option>
		<option value="5">不实信息</option>
		<option value="6">人身攻击</option>
		<option value="7">泄露个人隐私</option>
		</select></li>
	  <li>加入黑名单 <input type="checkbox" name="add_black" value=1></li>
	   <li><input type="button" class="tucao_submit2" value="确定"></li>
	  </ul>
	</div>
    </form>
	
	{%/if%}
    </div>
   <div class="fanlaji_add_right">
	  <div class="jubaojilu">
	   <h1>举报历史
	   </h1>
	   <ul>
	   {%section name="count" loop=$g_show.jubao_list%}
 <li> <div class="mingdan_img"><a href="http://weibo.com/{%$g_show.jubao_list[count].laji_uid%}" target="_blank" {%if $g_show.jubao_list[count].laji_have_del eq 1%}style="color:red"{%/if%}><img src="http://tp1.sinaimg.cn/{%$g_show.jubao_list[count].laji_uid%}/30/1"></a></div>
 <div class="mingdan_a"><a href="http://weibo.com/{%$g_show.jubao_list[count].laji_uid%}" target="_blank" {%if $g_show.jubao_list[count].laji_have_del eq 1%}style="color:red"{%/if%}>{%$g_show.jubao_list[count].laji_nickname%}</a></div></li>
{%/section%}
	 
	   </ul>
	  </div>
	  
	   <div class="heimingdan">
	    <h1>我的黑名单(只列20个内)
	   </h1>
	   <ul>
	   {%section name="count" loop=$g_show.black_list%}
<li><div class="mingdan_img"><a href="http://weibo.com/{%$g_show.black_list[count].user.id%}" target="_blank"><img src="http://tp1.sinaimg.cn/{%$g_show.black_list[count].user.id%}/30/1"></a></div>
 <div class="mingdan_a"><a href="http://weibo.com/{%$g_show.black_list[count].user.id%}" target="_blank">{%$g_show.black_list[count].user.screen_name%} </a></div></li>
{%/section%}
	 
	   </ul>
	  </div>
   </div>
   
  </div>
</div>
<div class="break"></div>
{%include file="footer.html" %}   




<script src ="/js/jquery/jquery.js"></script>
<script src ="/js/common/user_message.js"></script>
<script type="text/javascript" language="javascript">


//YOUXIXIU.MAIN.CheckMessage.init();


$(".tucao_submit").bind("click",function(){

	$.ajax({
		url:"/interface/mblog/fanlaji/json_laji_uid_post.php",
		type:"post",
		data:$("#form1").serialize(),
		dataType:"json",
		 complete:function(xhr,status){
      var result = eval("("+(xhr.responseText)+")");
			
			if(result.error == "0"){
			alert("成功");
				location.reload();                   
			}else{
				var errmsg = result.errmsg;
				alert(errmsg)
			}

			widget = null;
		}
	});
});

$(".tucao_submit2").bind("click",function(){

	$.ajax({
		url:"/interface/mblog/fanlaji/json_laji_uid_post.php",
		type:"post",
		data:$("#form2").serialize(),
		dataType:"json",
		 complete:function(xhr,status){
      var result = eval("("+(xhr.responseText)+")");
			
			if(result.error == "0"){
			alert("成功");
				location.reload();                   
			}else{
				var errmsg = result.errmsg;
				alert(errmsg)
			}

			widget = null;
		}
	});
});

</script>
</script>

